package com.xlh.dao.conclude.ext;

import com.xlh.pojo.conclude.ConcludeStudent;
import com.xlh.vo.conclude.StudentListInfoVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author cfz
 */
@Repository
public interface ConcludeStudentMapperExt {


    /**
     * 查询所有学生信息
     * @param concludeId
     * @param className
     * @return
     */
    List<StudentListInfoVO> findAllStudent(@Param("concludeId") Long concludeId, @Param("className")String className);


    /**
     * 批量插入学生信息
     * @param concludeStudents
     */
    void insertBatch(@Param("concludeStudents") List<ConcludeStudent> concludeStudents);

    /**
     * 课程关联下获取学生
     * @param courseId
     * @param studentId
     * @return
     */
    List<ConcludeStudent> findSysStudent(@Param("courseId") Long courseId, @Param("studentId") Long studentId);


    /**
     * 查询关联工程认证下所有学生
     * @param courseId
     * @return
     */
    List<ConcludeStudent> findSysStudentByCourseId(@Param("courseId") Long courseId);


}
